//
//  Custom+UIBarButtonItem.swift
//  weibo
//
//  Created by lucy on 2016/10/22.
//  Copyright © 2016年 com.huashengHuaSheng. All rights reserved.
//

import UIKit

extension UIBarButtonItem{

    convenience init(setHighlightImgName:String? = nil,title: String? = nil, target: Any?, action: Selector){
        self.init()
        let button = UIButton(setHighlightedImgName: setHighlightImgName, title: title, target: target, action: action)
        self.customView = button

    
    }

}














